package dymnd;

/**
 * PacketSet - An array of Packets, composing a brush stroke or other action
 * 
 *
 */

import java.util.*;

import dymnd.net.PaintPacket;


public class PacketSet {

	private ArrayList<PaintPacket> packets = new ArrayList<PaintPacket>(30);
	
	
	
	public PacketSet()	{
		
	}
	
	public void ensureSize(int i)	{
		packets.ensureCapacity(i);
	}
	
	public ArrayList<PaintPacket> getPackets()	{
		return packets;
	}
	
	public void addPacket(PaintPacket p)	{
		packets.add(p);
	}
	
}
